<template>
  <b-card no-body>
    <b-card-img :src="imgSrc" top />
    <b-card-body>
      <b-card-title>{{ title }}</b-card-title>
      <b-card-text>{{ desc }}</b-card-text>
    </b-card-body>
  </b-card>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      required: true,
    },
    desc: {
      type: String,
      required: true,
    },
    imgSrc: {
      type: String,
      required: true,
    },
  },
};
</script>

<style lang="scss" scoped>
.card {
  align-items: center;
  background-color: transparent;
  border: none;
  padding-left: 28px;
  padding-right: 28px;
}
.card-img-top {
  width: 180px;
  height: 180px;
}
.card-body {
  padding: 0px;
  text-align: center;
}
.card-title {
  font-family: PingFangSC-Medium;
  font-size: 16px;
  color: #000000;
  line-height: 22px;
  letter-spacing: 0.5px;
  margin-top: 22px;
  margin-bottom: 12px;
}
.card-text {
  font-size: 13px;
  letter-spacing: 0.41px;
}
</style>
